﻿@namespace IoTSharp.ClientApp
@using OneOf
@inherits LayoutComponentBase

<div class="container__b__0">
    <div class="lang">
        <!--todo: selectLang-->
    </div>
    <div class="content">
        <div class="top">
            <div class="header">
                <a>
                    <img alt="logo" class="logo" src="assets/logo.png" />
                    <span class="title">IoTSharp</span>
                </a>
            </div>
            <div class="desc">IoTSharp is an open-source IoT platform for data collection, processing, visualization, and device management. </div>
        </div>
        @Body
    </div>
    <GlobalFooter Links="_links">
        <Copyright>
            Copyright <Icon Type="copyright" /> 2008-2020 maikebing
        </Copyright>
    </GlobalFooter>
</div>

@code
{
    private readonly LinkItem[] _links =
    {
        new LinkItem{ Key = "", Href="https://github.com/IoTSharp/IoTSharp.Edge.nanoFramework", BlankTarget = true, Title = ".Net nano Framework"},
        new LinkItem{ Key = "", Href="https://gitee.com/IoTSharp/", BlankTarget = true, Title = OneOf<string, RenderFragment>.FromT1(@<Icon Type="gitee" />)},
        new LinkItem{ Key = "",Href="https://github.com/IoTSharp/", BlankTarget = true, Title = OneOf<string, RenderFragment>.FromT1(@<Icon Type="github" />)},
          new LinkItem{ Key = "", Href="https://github.com/IoTSharp/IoTSharp.Edge.RT-Thread", BlankTarget = true, Title = "RT-Thread"},
    };
}
